#ifndef TLOG_H
#define TLOG_H

#include <QObject>
#include <QDebug>
#include <QThread>
#include <QMutex>
#include <QFile>
#include <QDir>
#include <QCoreApplication>
#include <QDateTime>
#include <QMetaEnum>
class TLog : public QObject
{
    Q_OBJECT
public:
    explicit TLog(QObject *parent = nullptr);
public slots:
    void on_saveLog(int cate,QString time,QString fileName,QString func,int line,QString info);
signals:

private:
    QThread *thread;
    QDateTime *dateTime;

};

#endif // TLOG_H
